package com.yule;

import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @author gjl
 * @description Eureka注册服务中心
 */
@EnableEurekaServer
@SpringBootApplication
public class EurekaServerApplication {
	
	private static Logger logger = Logger.getLogger(EurekaServerApplication.class);
	
	public static void main(String[] args) {
        SpringApplication.run(EurekaServerApplication.class, args);
        logger.info("============= SpringCloud Start Success =============");
    }

}
